- preview = RedCloth.new(article.preview).to_html
.article
  %h3
    - if article.current || session[:signed_up]
      = link_to article.title, :controller => 'articles', :action => 'show', :id => article.permalink
    - else
      = article.title
  %div
    = preview
  %small
    Published
    = distance_of_time_in_words_to_now(article.created_at)
    ago